package cn.mingfancloud.基础知识.字符串;

public class Link {
    public static void main(String args[]) {
        int booktime = 4; // 声明int型变量booktime
        float practice = 2.5f; // 声明float型变量practice
        // 将字符串与整型、浮点型变量相连，并将结果输出
        System.out.println("我每天花费" + booktime + "小时看书；" + practice + "小时上机练习");
    }
}
